package com.stu.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.stu.pojo.Mycoupon;

import java.util.List;

public interface IMycouponService extends IService<Mycoupon> {
        public Integer insert(Mycoupon mycoupon);
        public List<Mycoupon> selectAll(Integer userId);
        public List<Mycoupon> selectAll2Use(Integer userId);
        public Integer update(Mycoupon mycoupon);
        public Long getCouponNumberByUserId(String userId);
        public Integer delete(String mycouponNumber);
}
